<?php $name = system_controller_front::getInstance()->getRequest()->getActionName(); ?>
<div class="body tabs">
	<form action="<?php echo $this->url('collection/list/' . $name);?>" method="get">
	<ul class="list">
		<li<?php if($name=='index') echo ' class="current"'; ?>>
			<a href="<?php echo $this->url('collection/list/index');?>"><?php echo $this->language('INDEX');?><?php if($name=='index') echo ' »'; ?></a>
		</li>
		<li<?php if($name=='item') echo ' class="current"'; ?>>
			<a href="<?php echo $this->url('collection/list/item');?>"><?php echo $this->language('ITEMS');?><?php if($name=='item') echo ' »'; ?></a>
		</li>
		<li<?php if($name=='error') echo ' class="current"'; ?>>
			<a href="<?php echo $this->url('collection/list/error');?>"><?php echo $this->language('ERROR LOGS');?><?php if($name=='error') echo ' »'; ?></a>
		</li>
		<li class="rs">
			<span><?php echo $this->render('include/searchInput.phtml');?></span>
			<span><button type="submit" value="Search" class="small">Search</button></span>
		</li>
	</ul>
	<div class="clearfix"></div>
	</form>
</div>
